package edu.zut.pioneer.commodity.impl;

import edu.zut.pioneer.base.service.impl.BaseManagerImpl;
import edu.zut.pioneer.commodity.CommodityManager;
import edu.zut.pioneer.commodity.dao.CommodityDao;
import edu.zut.pioneer.commodity.domain.Commodity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("commodityManager")
public class CommodityManagerImpl extends BaseManagerImpl<Commodity,Long> implements CommodityManager {
    CommodityDao commodityDao;

    @Autowired
    public void setMemberRep(CommodityDao commodityDao) {
        this.commodityDao = commodityDao;
        this.dao = this.commodityDao;
    }
}
